package io.wit.modules.wit.service;

import io.wit.modules.wit.entity.EmployeeEntity;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * 员工档案
*/
public interface EmployeeService {
	
	EmployeeEntity queryObject(Long dataId);
	
	List<EmployeeEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	Long save(final EmployeeEntity employee);
	
	void update(EmployeeEntity employee);
	
	void delete(Long dataId);
	
	void deleteBatch(final Long[] dataIds);

    String getTypeEducation();

	List<EmployeeEntity> getUserList(Long subjectId);

    String queryMap(final Long dataId);

    String saveEmployee(final HttpServletRequest request);

    String editEmployee(final HttpServletRequest request);
}